<?php
/**
 * Template Name: REF page Template
 */
 ?>
<?php get_header();

    $args = array (
        'posts_per_page'=>1,
        'post_type'=>'post',
        'taxonomy'=>'category',
        'orderby'=>'menu_order date'
    );
    // The Query
    $the_query = new WP_Query( $args );
    while ( $the_query->have_posts() ) : $the_query->the_post();  
        $page_id_num1 = $post->ID;
        include(TEMPLATEPATH . '/lib/includes/lfdh_header.php');
    endwhile; 
    // Reset Post Data
    wp_reset_postdata();
    
?>
<div class="mainContent">
    <!-- slide_imgContent -->
        <?php if(!function_exists('dynamic_sidebar') || !dynamic_sidebar('lfdh_sliders_widget')) : ?>
        <?php endif; ?>
    <!-- end slide_imgContent-->
   <?php 
   
   $the_query = new WP_Query( $args );
    while ( $the_query->have_posts() ) : $the_query->the_post();  
        $page_id_num1 = $post->ID;
        include(TEMPLATEPATH . '/lib/includes/page_content_ref.php');
    endwhile;
    // Reset Post Data
    wp_reset_postdata();  
   ?>
</div><!-- end of .mainContent-->
<?php get_footer(); ?>